<template>
 <div class="App">
   <h1 class="title">App组件</h1>
   <p>{{count}}</p>
   <Count/>
 </div>
</template>

<script>
import Count from './components/Count.vue'
export default {
  name: "App",
  components: {
    Count
  },
  data() {
    return {
      count: 10
    }
  }
}
</script>

<style scoped>
  .App {
    border: 1px solid #ccc;
    width: 800px;
    height: 300px;
  }
  .title {
    background-color: skyblue;
  }
  .App .content {
    background: pink;
  }
  .App >>> .content {
    background-color: yellow;
  }
</style>